import request from '@/utils/request'

const prefix = '/basic/generator/code'

export default {

  columns(data) {
    return request({
      url: `${prefix}/columns`,
      method: 'post',
      data
    })
  },
  origin(data) {
    return request({
      url: `${prefix}/origin`,
      method: 'post',
      data
    })
  }

}
